<?php
class OrderToneEvt extends BaseUpdateEvt{
	
	function __construct($portalAccount, $portalPwd, $portalType, $role, $roleCode, $resourceType, $phoneNumber, $resourceID, $resourceCode)
	{
		parent::__construct($portalAccount, $portalPwd, $portalType, null, $role, $roleCode);
		
		$this->resourceType = $resourceType;		
		$this->phoneNumber = $phoneNumber;
		$this->resourceID = $resourceID;
		$this->resourceCode = $resourceCode;
		
	}
	
	public $resourceType; 

	public $rankType;
	
	public $phoneNumber;
	
	public $resourceID;
	
	public $resourceCode;
		
}

class QueryInboxToneEvt extends BaseQueryEvt {	
	
	function __construct($portalAccount, $portalPwd, $portalType, $startRecordNum, $endRecordNum, $queryType, $resourceType, $phoneNumber)
	{
		parent::__construct($portalAccount, $portalPwd, $portalType, $startRecordNum, $endRecordNum, $queryType);
		
		$this->resourceType = $resourceType;
		$this->phoneNumber = $phoneNumber;
	}
	
	public $resourceType;
	/*
	RBT type
	A string of 1 digit
	It cannot be null. 
	See the following for RBT types: 
	1: normal RBT
	2: RBT group
	*/
	
	public $phoneNumber;
	/*
	MSISDN of a subscriber
	A string of 1 to 20 digits
	It cannot be null.
	*/
}

class DelInboxToneEvt extends BaseUpdateEvt {
	function __construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode, $phoneNumber, $personId)
	{
		parent::__construct($portalAccount, $portalPwd, $portalType, $moduleCode, $role, $roleCode);
		$this->phoneNumber	= $phoneNumber;
		$this->personId		= $personId;
	}	
	public $phoneNumber;
	public $personId;
}

class QueryInboxToneResp extends BaseQueryResp {
	public $toneInfos;
	/*
	Object array
	ToneInfo array
	The number of elements in the array is N (an integer).
	*/

	public $toneBoxInfos;
	/*
	Object array
	ToneBoxInfo array
	The number of elements in the array is N (an integer).
	*/	
}
?>